.PHONY:all
	
all:myhttpd tcp_server tcp_client

myhttpd:myhttpd.c
	gcc $^ -o $@ -lpthread

tcp_server:tcp_server.c
	gcc $^ -o $@ -lpthread

tcp_client:tcp_client.cpp
	g++ $^ -o $@ -lpthread

.PHONY:clean
clean:
	rm myhttpd tcp_server
